package com.homeWork;

public class Employee extends Person {
        private String office;
        private double salary;
        private String hiredate;

    public Employee() {

    }

    public Employee(String name, String address, String telephone, String email, String office, double salary, String hiredate) {
        super(name, address, telephone, email);
        this.office = office;
        this.salary = salary;
        this.hiredate = hiredate;
    }

    public String getOffice() {
        return office;
    }

    public void setOffice(String office) {
        this.office = office;
    }

    public double getSalary() {
        return salary;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }

    public String getHiredate() {
        return hiredate;
    }

    public void setHiredate(String hiredate) {
        this.hiredate = hiredate;
    }
}
